package com.ruoyi.wuyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.Objects;

/**
 * 【采购信息】对象 xiaoshou_info
 * 
 * @author ruoyi
 * @date 2021-07-07
 */
public class XiaoshouInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 售卖编码 */
    @Excel(name = "售卖编码")
    private String sellNum;

    /** 售卖人 */
    @Excel(name = "售卖人")
    private String sellName;

    /** 售卖电话 */
    @Excel(name = "售卖电话")
    private String sellTel;

    /** 售卖手机 */
    @Excel(name = "售卖手机")
    private String sellPhone;

    /** 售卖公司 */
    @Excel(name = "售卖公司")
    private String sellCompany;

    /** 企业类型 */
    @Excel(name = "企业类型")
    private String companyType;

    /** 售卖地址 */
    @Excel(name = "售卖地址")
    private String sellAddress;

    /** 售卖数量 */
    @Excel(name = "售卖数量")
    private String sellAmount;

    /** 售卖数量单位 */
    @Excel(name = "售卖数量单位")
    private String sellAmountUnit;

    /** 售卖尺寸 */
    @Excel(name = "售卖尺寸")
    private String sellSize;

    /** 售卖产品详情 */
    @Excel(name = "售卖产品详情")
    private String sellProduct;

    /** 售卖产品价格 */
    @Excel(name = "售卖产品价格")
    private String sellProductPrice;

    /** 售卖方式 */
    @Excel(name = "售卖方式")
    private String sellMode;

    /** 产品供应期 */
    @Excel(name = "产品供应期")
    private String sellSupplyTime;

    /** 包装方式 */
    @Excel(name = "包装方式")
    private String sellPackMode;

    /** 是否售罄 */
    @Excel(name = "是否售罄")
    private Integer sellOut;

    /** 起售数量 */
    @Excel(name = "起售数量")
    private String sellStartAmount;

    /** 售卖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "售卖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sellTime;

    /** 省 */
    @Excel(name = "省")
    private String sellProvince;

    /** 省编码 */
    @Excel(name = "省编码")
    private String sellProvinceCode;

    /** 市 */
    @Excel(name = "市")
    private String sellCity;

    /** 市编码 */
    @Excel(name = "市编码")
    private String sellCityCode;

    /** 县 */
    @Excel(name = "县")
    private String sellCounty;

    /** 县编码 */
    @Excel(name = "县编码")
    private String sellCountyCode;

    @Excel(name = "经度")
    private String longitude;

    @Excel(name = "纬度")
    private String latitude;

    /** 售卖类别 */
    @Excel(name = "售卖类别")
    private String sellType;

    /** 售卖类别编码 */
    @Excel(name = "售卖类别编码")
    private String sellTypeCode;

    /** 售卖种类 */
    @Excel(name = "售卖种类")
    private String sellClass;

    /** 售卖种类编码 */
    @Excel(name = "售卖种类编码")
    private String sellClassCode;

    /** 售卖标题 */
    @Excel(name = "售卖标题")
    private String sellTitle;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String isCheck;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private String isShop;

    /** 售卖发布时间间隔 */
    @Excel(name = "售卖发布时间间隔")
    private String sellPublishInterval;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String picAddress;

    /** 视频路径 */
    @Excel(name = "视频路径")
    private String videoPath;

    /** 售卖单位 */
    @Excel(name = "售卖单位")
    private String sellUnit;

    /** 用户查看 */
    private Integer viewNum;

    /** 用户点赞 */
    private Integer likeNum;

    /**相似度 */
    private Integer weight;

    /**关键字 */
    private String keyWords;

    /** 未审核通过原因 */
    @Excel(name = "未审核通过原因")
    private String feedBack;

    public String getIsShop() {
        return isShop;
    }

    public void setIsShop(String isShop) {
        this.isShop = isShop;
    }

    public String getSellUnit() {
        return sellUnit;
    }

    public void setSellUnit(String sellUnit) {
        this.sellUnit = sellUnit;
    }

    public String getKeyWords() {
        return keyWords;
    }

    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getVideoPath() {
        return videoPath;
    }

    public void setVideoPath(String videoPath) {
        this.videoPath = videoPath;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSellNum(String sellNum) 
    {
        this.sellNum = sellNum;
    }

    public String getSellNum() 
    {
        return sellNum;
    }
    public void setSellName(String sellName) 
    {
        this.sellName = sellName;
    }

    public String getSellName() 
    {
        return sellName;
    }
    public void setSellTel(String sellTel) 
    {
        this.sellTel = sellTel;
    }

    public String getSellTel() 
    {
        return sellTel;
    }
    public void setSellPhone(String sellPhone) 
    {
        this.sellPhone = sellPhone;
    }

    public String getSellPhone() 
    {
        return sellPhone;
    }
    public void setSellCompany(String sellCompany) 
    {
        this.sellCompany = sellCompany;
    }

    public String getSellCompany() 
    {
        return sellCompany;
    }
    public void setCompanyType(String companyType) 
    {
        this.companyType = companyType;
    }

    public String getCompanyType() 
    {
        return companyType;
    }
    public void setSellAddress(String sellAddress) 
    {
        this.sellAddress = sellAddress;
    }

    public String getSellAddress() 
    {
        return sellAddress;
    }
    public void setSellAmount(String sellAmount) 
    {
        this.sellAmount = sellAmount;
    }

    public String getSellAmount() 
    {
        return sellAmount;
    }
    public void setSellSize(String sellSize) 
    {
        this.sellSize = sellSize;
    }

    public String getSellSize() 
    {
        return sellSize;
    }
    public void setSellProduct(String sellProduct) 
    {
        this.sellProduct = sellProduct;
    }

    public String getSellProduct() 
    {
        return sellProduct;
    }
    public void setSellProductPrice(String sellProductPrice) 
    {
        this.sellProductPrice = sellProductPrice;
    }

    public String getSellProductPrice() 
    {
        return sellProductPrice;
    }
    public void setSellTime(Date sellTime) 
    {
        this.sellTime = sellTime;
    }

    public Date getSellTime() 
    {
        return sellTime;
    }
    public void setSellProvince(String sellProvince) 
    {
        this.sellProvince = sellProvince;
    }

    public String getSellProvince() 
    {
        return sellProvince;
    }
    public void setSellProvinceCode(String sellProvinceCode) 
    {
        this.sellProvinceCode = sellProvinceCode;
    }

    public String getSellProvinceCode() 
    {
        return sellProvinceCode;
    }
    public void setSellCity(String sellCity) 
    {
        this.sellCity = sellCity;
    }

    public String getSellCity() 
    {
        return sellCity;
    }
    public void setSellCityCode(String sellCityCode) 
    {
        this.sellCityCode = sellCityCode;
    }

    public String getSellCityCode() 
    {
        return sellCityCode;
    }
    public void setSellCounty(String sellCounty) 
    {
        this.sellCounty = sellCounty;
    }

    public String getSellCounty() 
    {
        return sellCounty;
    }
    public void setSellCountyCode(String sellCountyCode) 
    {
        this.sellCountyCode = sellCountyCode;
    }

    public String getSellCountyCode() 
    {
        return sellCountyCode;
    }
    public void setSellType(String sellType) 
    {
        this.sellType = sellType;
    }

    public String getSellType() 
    {
        return sellType;
    }
    public void setSellTypeCode(String sellTypeCode) 
    {
        this.sellTypeCode = sellTypeCode;
    }

    public String getSellTypeCode() 
    {
        return sellTypeCode;
    }
    public void setSellClass(String sellClass) 
    {
        this.sellClass = sellClass;
    }

    public String getSellClass() 
    {
        return sellClass;
    }
    public void setSellClassCode(String sellClassCode) 
    {
        this.sellClassCode = sellClassCode;
    }

    public String getSellClassCode() 
    {
        return sellClassCode;
    }
    public void setSellTitle(String sellTitle) 
    {
        this.sellTitle = sellTitle;
    }

    public String getSellTitle() 
    {
        return sellTitle;
    }
    public void setSellPublishInterval(String sellPublishInterval) 
    {
        this.sellPublishInterval = sellPublishInterval;
    }

    public String getIsCheck() { return isCheck; }
    public void setIsCheck(String isCheck) { this.isCheck = isCheck; }

    public String getSellPublishInterval()
    {
        return sellPublishInterval;
    }
    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getCreateTime()
    {
        return createTime;
    }
    public void setPicAddress(String picAddress) 
    {
        this.picAddress = picAddress;
    }

    public String getPicAddress() 
    {
        return picAddress;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public String getSellAmountUnit() {
        return sellAmountUnit;
    }

    public void setSellAmountUnit(String sellAmountUnit) {
        this.sellAmountUnit = sellAmountUnit;
    }

    public String getSellMode() {
        return sellMode;
    }

    public void setSellMode(String sellMode) {
        this.sellMode = sellMode;
    }

    public String getSellSupplyTime() {
        return sellSupplyTime;
    }

    public void setSellSupplyTime(String sellSupplyTime) {
        this.sellSupplyTime = sellSupplyTime;
    }

    public String getSellPackMode() {
        return sellPackMode;
    }

    public void setSellPackMode(String sellPackMode) {
        this.sellPackMode = sellPackMode;
    }

    public Integer getSellOut() {
        return sellOut;
    }

    public void setSellOut(Integer sellOut) {
        this.sellOut = sellOut;
    }

    public String getSellStartAmount() {
        return sellStartAmount;
    }

    public void setSellStartAmount(String sellStartAmount) {
        this.sellStartAmount = sellStartAmount;
    }

    public String getFeedBack() {
        return feedBack;
    }

    public void setFeedBack(String feedBack) {
        this.feedBack = feedBack;
    }


    @Override
    public String toString() {
        return "XiaoshouInfo{" +
                "id='" + id + '\'' +
                ", sellNum='" + sellNum + '\'' +
                ", sellName='" + sellName + '\'' +
                ", sellTel='" + sellTel + '\'' +
                ", sellPhone='" + sellPhone + '\'' +
                ", sellCompany='" + sellCompany + '\'' +
                ", companyType='" + companyType + '\'' +
                ", sellAddress='" + sellAddress + '\'' +
                ", sellAmount='" + sellAmount + '\'' +
                ", sellAmountUnit='" + sellAmountUnit + '\'' +
                ", sellSize='" + sellSize + '\'' +
                ", sellProduct='" + sellProduct + '\'' +
                ", sellProductPrice='" + sellProductPrice + '\'' +
                ", sellMode='" + sellMode + '\'' +
                ", sellSupplyTime='" + sellSupplyTime + '\'' +
                ", sellPackMode='" + sellPackMode + '\'' +
                ", sellOut=" + sellOut +
                ", sellStartAmount='" + sellStartAmount + '\'' +
                ", sellTime=" + sellTime +
                ", sellProvince='" + sellProvince + '\'' +
                ", sellProvinceCode='" + sellProvinceCode + '\'' +
                ", sellCity='" + sellCity + '\'' +
                ", sellCityCode='" + sellCityCode + '\'' +
                ", sellCounty='" + sellCounty + '\'' +
                ", sellCountyCode='" + sellCountyCode + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", sellType='" + sellType + '\'' +
                ", sellTypeCode='" + sellTypeCode + '\'' +
                ", sellClass='" + sellClass + '\'' +
                ", sellClassCode='" + sellClassCode + '\'' +
                ", sellTitle='" + sellTitle + '\'' +
                ", isCheck='" + isCheck + '\'' +
                ", isShop='" + isShop + '\'' +
                ", sellPublishInterval='" + sellPublishInterval + '\'' +
                ", createTime=" + createTime +
                ", picAddress='" + picAddress + '\'' +
                ", videoPath='" + videoPath + '\'' +
                ", sellUnit='" + sellUnit + '\'' +
                ", viewNum=" + viewNum +
                ", likeNum=" + likeNum +
                ", weight=" + weight +
                ", keyWords='" + keyWords + '\'' +
                ", feedBack='" + feedBack + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        XiaoshouInfo that = (XiaoshouInfo) o;
        return Objects.equals(sellName, that.sellName) &&
                Objects.equals(sellPhone, that.sellPhone) &&
                Objects.equals(sellCompany, that.sellCompany) &&
                Objects.equals(sellAddress, that.sellAddress) &&
                Objects.equals(sellProduct, that.sellProduct) &&
                Objects.equals(sellProvince, that.sellProvince) &&
                Objects.equals(sellCity, that.sellCity) &&
                Objects.equals(sellCounty, that.sellCounty) &&
                Objects.equals(sellTitle, that.sellTitle);
    }

    @Override
    public int hashCode() {
        return Objects.hash(sellName, sellPhone, sellCompany, sellAddress, sellProduct, sellProvince, sellCity, sellCounty, sellTitle);
    }
}
